Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dap): has_package -> is_installed #97

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

bas-ie
Copy link
Contributor

@bas-ie bas-ie commented Dec 13, 2023

This:

  • switches out has_package for is_installed when checking Mason for the presence of codelldb.

has_package is true if the package is in the Mason registry, which is not quite what we want here. This fixes an error in the case where Mason is installed, but codelldb is not.

Fixes #96

has_package is true if the package is in the Mason registry, which is
not quite what we want here.
Copy link
Contributor

github-actions bot commented Dec 13, 2023

Review Checklist

Does this PR follow the Contribution Guidelines? Following is a partial checklist:

Proper conventional commit scoping:

  • For example, fix(lsp): some lsp-related bugfix

  • Pull request title has the appropriate conventional commit prefix.

If applicable:

  • Tested
    • Tests have been added.
    • Tested manually (Steps to reproduce in PR description).
  • Updated documentation.
  • Updated CHANGELOG.md

@bas-ie bas-ie changed the title has_package -> is_installed fix(dap): has_package -> is_installed Dec 13, 2023
Copy link
Owner

@mrcjkb mrcjkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lldb path apparently broken by versions after around 3.7.1
2 participants